package com.api.oa.services;

import com.alibaba.fastjson.JSONObject;
import com.api.shopapi.entity.RetreatSettle;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RetreatSettleService {

    int insert(RetreatSettle retreatSettle);

    PageInfo<RetreatSettle> getByInstitutionCode(int pageIndex, int pageSize, String institutionCode,String elderlyName);

    double getSumTotal(String elderlyCode);

    List<RetreatSettle> getByElderlyCode(String elderlyCode);

    Object getSumTotalByInstitutionCode(String institutionCode);
}
